package com.ycw.xiaocai.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ycw.bean.Comments;
import com.ycw.dao.CommentsMapper;
import com.ycw.xiaocai.service.XiaoCaiService;

@Service
public class XiaoCaiServiceImpl implements XiaoCaiService {

	@Autowired
	CommentsMapper commentsMapper;

	@Override
	public List<Comments> getALLComments() {
		return commentsMapper.selectAll();

	}

}
